package com.beiing.tianshuai.tianshuai.helper;

import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;

import com.beiing.tianshuai.tianshuai.message.ui.NewFriendMessageActivity;

/**
 * Created by Administrator on 2018/1/22 0022.
 */

public class PendingIntentHelper {
    /**
     * 跳转新朋友通知列表
     *
     * @param context context
     * @param flags 标志
     * @return pendingIntent
     */
    public static PendingIntent getNewFriendMessagePendingIntent(Context context, int flags) {
        Intent intent = new Intent(context.getApplicationContext(), NewFriendMessageActivity.class);
        return PendingIntent.getActivity(context, 1, intent, flags);
    }
}
